package com.hsteach.dao.domain.visit;

import com.hsteach.common.annotation.Excel;
import com.hsteach.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 家访图片对象 tb_visit_img
 * 
 * @author fanxquer
 * @date 2023-07-25
 */
public class VisitImg extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 家访id */
    @Excel(name = "家访id")
    private Long recordId;

    /** 图片类型 1家访记录，2重点项记录，3安全记录 */
    @Excel(name = "图片类型 1家访记录，2重点项记录，3安全记录")
    private Integer imgType;

    /** 访问url */
    @Excel(name = "访问url")
    private String url;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setRecordId(Long recordId) 
    {
        this.recordId = recordId;
    }

    public Long getRecordId() 
    {
        return recordId;
    }
    public void setImgType(Integer imgType) 
    {
        this.imgType = imgType;
    }

    public Integer getImgType() 
    {
        return imgType;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("recordId", getRecordId())
            .append("imgType", getImgType())
            .append("url", getUrl())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
